package com.myapp.ruyixing.ui;

import android.content.Intent;
import android.os.Bundle;

import com.myapp.ruyixing.R;
import com.myapp.ruyixing.model.CityHotMenu.HotCell;
import com.myapp.ruyixing.ui.SearchCityMenuFragment.OnCategoryItemClickListener;

public class DiscountActivity extends BaseActivity implements
		OnCategoryItemClickListener {

	@Override
	protected void onCreate(Bundle arg0) {
		super.onCreate(arg0);

		setContentView(R.layout.activity_search_city_menu);
	}

	@Override
	public void onItemClicked(HotCell cell) {
		startActivity(new Intent(this, NearbyStoreActivity.class)
				.putExtra(NearbyStoreActivity.INTENT_KEY_TYPEID, cell.id)
				.putExtra(NearbyStoreActivity.INTENT_KEY_TYPE_NAME, cell.name)
				.putExtra(NearbyStoreActivity.INTENT_KEY_TYPE_PRIVILEGE, true));

		finish();
	}
}
